<?php defined('PT_ROOT') || exit('Permission denied');?><!DOCTYPE HTML>
<html xmlns="http://www.w3.org/1999/xhtml">
<head lang="zh-CN">
    <meta charset="UTF-8" />
    <title><?php echo PRONAME;?> 安装程序</title>
    <link rel="stylesheet" type="text/css" href="<?php echo __TMPL__;?>/css/global.css" />
</head>
<body>
<div class="ptcms-install-patch">
    <h1><?php echo PRONAME;?></h1>
    <ol class="path">
        <?php if(is_array($steplist) && (array()!=$steplist)): $i=array(); $i['loop']=array_slice($steplist,0,null,true); $i['total']=count($steplist); $i['count']=count($i['loop']); $i['cols']=1; $i['add']=$i['count']%1?1-$i['count']%1:0; $i['order']=0; $i['row']=1;$i['col']=0;foreach(array_pad($i['loop'],$i['add'],array()) as $i['index']=>$i['list']): $loop=$i['list']; $i['order']++; $i['col']++; if($i['col']==1): $i['col']=0; $i['row']++; endif; $i['first']=$i['order']==1; $i['last']=$i['order']==$i['count']; $i['extra']=$i['order']>$i['count'];?>
        <?php if($step==$i['index']):?>
        <li class="current"><span><?php echo $i['order'];?></span><?php echo $loop;?></li>
        <?php else:?>
        <li><span><?php echo $i['order'];?></span><?php echo $loop;?></li>
        <?php endif;?>
        <?php endforeach; endif;?>
    </ol>
</div>
<div class="container">
    <div class="colgroup">
        <div class="col-mb-12 col-tb-8 col-tb-offset-2">
            <div class="column-14 start-06 ptcms-install">
                <h1 class="ptcms-install-title">安装成功!</h1>
<div class="ptcms-install-body">
    <div class="message success">
        您的管理员账户是: <strong class="mono"><?php echo $admin['adminuser'];?></strong><br>
        您的管理员密码是: <strong class="mono"><?php echo $admin['adminpwd'];?></strong>
    </div>

    <div class="p message notice">
        <a target="_blank" href="http://www.ptcms.com">参与用户调查, 帮助我们完善产品</a>
    </div>

    <div class="session">
        <p>您可以将下面两个链接保存到您的收藏夹:</p>
        <ul>
            <li><a href="<?php echo $admin['siteurl'];?>/admin.php" target="_blank">点击这里访问您的控制面板</a></li>
            <li><a href="<?php echo $admin['siteurl'];?>" target="_blank">点击这里查看您的网站</a></li>
        </ul>
    </div>
    <p>希望您能尽情享用 <?php echo PRONAME;?> 带来的乐趣!</p>
</div>
            </div>
        </div>
    </div>
</div>
<div class="ptcms-foot" role="contentinfo">
    <div class="copyright">
        <a href="http://www.ptcms.com" class="i-logo-s">PTCMS</a>
        <p>由 <a href="http://www.ptcms.com/product/ptframework">PT Framework</a> 强力驱动, 程序版本 <?php echo PROVERSION;?></p>
    </div>
    <nav class="resource">
        <a href="http://www.ptcms.com/course">帮助文档</a> &bull;
        <a href="http://www.ptcms.com/bbs">支持论坛</a> &bull;
        <a href="http://www.ptcms.com/case">案例演示</a> &bull;
        <a href="http://www.ptcms.com/download">资源下载</a>
    </nav>
</div>
<div style="display: none">
    <script>
        var _hmt = _hmt || [];
        (function() {
            var hm = document.createElement("script");
            hm.src = "http://js.users.51.la/17312305.js";
            var s = document.getElementsByTagName("script")[0];
            s.parentNode.insertBefore(hm, s);
        })();
    </script>
</div>
</body>
</html>
